
<!--<form action="http://124.71.235.182:24373/" enctype="multipart/form-data" method="post">-->
<!--&lt;!&ndash;	<input type="text" name="q_content">&ndash;&gt;-->
<!--	<input type="file" name="postedFile" /> <br>-->
<!--&lt;!&ndash;	<input type="file" name="image[]" /> <br>&ndash;&gt;-->
<!--&lt;!&ndash;	<input type="text" name="username">&ndash;&gt;-->
<!--&lt;!&ndash;	<input type="text" name="password">&ndash;&gt;-->
<!--	<input type="submit" value="提交" />-->

<!--&lt;!&ndash;	<input type="submit" value="提交">&ndash;&gt;-->
<!--</form>-->
<html>
<head>
	<meta charset="utf-8" />
	<title>网页版群聊</title>
</head>
<body>
<script>
	// ws = new WebSocket("ws://www.chat.com:2345");
	// ws.onopen = function() {
	// 	console.log("连接成功");
	// 	ws.send('tom');
	// 	console.log("给服务端发送一个字符串：tom");
	// };
	// ws.onmessage = function(e) {
	// 	console.log("收到服务端的消息：" + e.data);
	// };
    $date['u']=u;
    save_message($date['u']);
    function save_message(message){
        $.post(
            "http://api.tp6.com/communication/save_message" ,
            message,
            function(){

            },'json'
        )
    }
</script>
</body>
</html>
